package com.duan.mapper;

import com.duan.base.BaseMapper;
import com.duan.pojo.Award;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AwardMapper extends BaseMapper<Award> {

    // 通过settingId，查找此次抽奖设置的所有奖品 （先要通过userId获取到setting的信息）
    public List<Award> selectAwardsBySettingId(Integer settingId);


}
